package com.springboot.cloud.demos.entity.enums;


public enum MomentType {

    //1;//节目广播,2;//普通图片3;//普通视频4;//普通语音
    MOMENT_TYPE_BROADCAST(1, "节目广播,"),
    MOMENT_TYPE_PICTURE(2, "普通图片"),
    MOMENT_TYPE_VIDEO(3, "视频"),
    MOMENT_TYPE_AUDIO(4, "语音");

    private Integer code;
    private String name;

    MomentType(int code, String name) {
        this.code = code;
        this.name = name;

    }


    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}

